package sys;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Author zhang
 * @Date 2021/5/14 上午10:57
 * @Description 用户行为日志记录实体类
 * @Version 1.0
 **/
@Data
@TableName("sys_user_log")
public class SysUserLog {

    @TableId
    private Long id;
    private Long userId;
    private String operation;
    private Long time;
    private String method;
    private String params;
    private String uri;
    private String ip;
    private String succeed;
    @JSONField(serialize = false)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gwtCreate;

}
